package cn.ad.model;

import java.util.Date;
import java.util.List;

public class Search {

	/**
	 * 订单Id
	 */
	private int campaignId;
	
	/**
	 * 开始时间
	 */
	private Date startTime;
	/**
	 * 结束时间
	 */
	private Date endTime;
	/**
	 * 查询判断 0 只查询时报  1 查询日报 2 查询时报+日报
	 */
	private int isToday;
	
	/**
	 * id list
	 */
	private List<Integer> ids;
	/**
	 * 需要查询的天，针对查小时报告的天数据使用
	 */
	private Date currentTime;
	/**
	 * 开始时间
	 */
	private int startHour;
	/**
	 * 结束时间
	 */
	private int endHour;

	public Search(int campaignId, Date startTime, Date endTime) {
		super();
		this.campaignId = campaignId;
		this.startTime = startTime;
		this.endTime = endTime;
	}
	public Search(int campaignId, Date startTime, Date endTime, int startHour, int endHour) {
		super();
		this.campaignId = campaignId;
		this.startTime = startTime;
		this.endTime = endTime;
		this.startHour = startHour;
		this.endHour = endHour;
	}
	public Search() {
		super();
	}
	public int getCampaignId() {
		return campaignId;
	}
	public void setCampaignId(int campaignId) {
		this.campaignId = campaignId;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public Date getCurrentTime() {
		return currentTime;
	}
	public void setCurrentTime(Date currentTime) {
		this.currentTime = currentTime;
	}
	public int getIsToday() {
		return isToday;
	}
	public void setIsToday(int isToday) {
		this.isToday = isToday;
	}
	public List<Integer> getIds() {
		return ids;
	}
	public void setIds(List<Integer> ids) {
		this.ids = ids;
	}

	public int getStartHour() {
		return startHour;
	}

	public void setStartHour(int startHour) {
		this.startHour = startHour;
	}

	public int getEndHour() {
		return endHour;
	}

	public void setEndHour(int endHour) {
		this.endHour = endHour;
	}
}
